package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_blacklist")
@TableAlias("blacklist")
@ApiModel(value = "BusBlacklist对象", description = "")
public class BusBlacklist extends AbstractAllEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "blacklistId", type = IdType.ASSIGN_ID)
    private Long blacklistId;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "证件号")
    private String identityNo;

    @ApiModelProperty(value = "描述")
    private String blackDesc;

    @ApiModelProperty(value = "标记人")
    private Long addUserId;

    @ApiModelProperty(value = "标记时间")
    private String addTime;

    @ApiModelProperty(value = "来源(1.销售新增，2后台新增增)")
    private Integer sourceType;

    @ApiModelProperty(value = "是否启用")
    private Integer isEnable;

    @ApiModelProperty(value = "移除人")
    private Long removeUserId;

    @ApiModelProperty(value = "移除时间")
    private String removeTime;

}
